package com.zh.domain.dto.user;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户更新请求
 *
 * @author <a href="https://github.com/liyupi">程序员鱼皮</a>
 * @from <a href="https://yupi.icu">编程导航知识星球</a>
 */
@Data
@ApiModel(value = "UserUpdateRequest",description = "仅超管/管理（团队长)可更新,且团队长仅可在本团队更新")
public class UserUpdateRequest implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "团队id,当团队长更新时传入")
    private Integer teamId;
    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    /**
     * 用户头像
     */
    @ApiModelProperty(value = "用户头像")
    private String avatar;

    /**
     * 简介
     */
    @ApiModelProperty(value = "简介")
    private String profile;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "标签")
    private List<String> tags;
    @ApiModelProperty(value = "修改密码")
    private String password;
    @ApiModelProperty(value = "确认密码")
    private String rePassword;
    @ApiModelProperty(value = "状态0 1")
    private Integer status;
    private static final long serialVersionUID = 1L;
}